﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Interfaces
{
    public interface IDatabaseFacade
    {
        bool AddProject(string name, string description = null);
        bool EditProject(IProject project);
        bool DeleteProject(IProject project);
        bool IsLoginCorrect(string userName, string password);
        IEnumerable<IProject> GetUserProjects(IUser user);
        IUser GetUser(string name);
    }
}
